﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Question.aspx.cs" Inherits="ThangNM.Question" MasterPageFile="~/PublicInterface/Home_New.Master" EnableViewState="false" %>
<%@ Register src="~/UserControl/MsgUC.ascx" tagname="MsgUC" tagprefix="uc1" %>

<asp:Content ID="cBody" ContentPlaceHolderID="cphBody" runat="server">
    <div class="blog_left">
        <div class="row" style="margin-top:5px">
            <div class="col-md-10">
                <h1 class="font_18_ex"><a href="http://nguyenmanhthang.net/hoi-dap" title="Hỏi - Đáp" >Hỏi - Đáp</a></h1>
                <h2 class="font_14">Hỏi những thứ bạn chưa biết. Chia sẻ giúp đỡ những điều bạn đã biết. Để một thế giới tốt đẹp hơn</h2>
            </div>
            <div class="col-md-2">
                <a class="btn btn-info btn-sm a_style" href="http://nguyenmanhthang.net/gui-cau-hoi.html" >Gửi câu hỏi</a>
            </div>
        </div>
        <br /><hr class="hr_style" />
        <uc1:MsgUC ID="MsgUC1" runat="server" />
        <asp:Repeater ID="rptQA" runat="server">
            <ItemTemplate>
                <div class="row comment_style">
                    <div class="col-md-3 text_default">
                        <center><a href="<%#Eval("LinkTopicHtml") + "#comment"%>" title="<%# Eval("iComment")%>" class="btn btn-info btn-lg comment_quantity_style"><%# Eval("iComment")%></a></center><br />
                        <i class="fa fa-eye"></i> <span><%# Eval("iVisit")%> Lượt xem</span><br />
                        <a href ="<%# "mailto:" +  Eval("sEmail")%>" title="<%# Eval("sName")%>" target="_blank" ><i class="fa fa-user"></i> <span><%# Eval("sName")%></span></a><br />
                        <a href ="<%#Eval("sWebsite")%>" title="<%# Eval("sName")%>" target="_blank"><i class="fa fa-clock-o"></i> <span><%# Eval("sDateTimeCreate")%></span></a>
                    </div>
                    <div class="col-md-9 talkbubble">
                        <h2 class="font_16_ex"><a href="<%#Eval("LinkTopicHtml")%>" title="<%# Eval("sTitle")%>"><%# Eval("sTitle")%></a></h2><br />
                        <span class="text_default"><%# Eval("sContent")%></span>
                    </div>
                    <asp:HiddenField ID="hfID" runat="server" Value='<%# Eval("PK_iQuestionID")%>' />
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <div class="page_style">
            <ul class="tag_nav list-unstyled">
            <asp:Repeater ID="rptPages" runat="server" onitemdatabound="rptPages_ItemDataBound">
                <ItemTemplate>
                    <li><asp:HyperLink ID="hplPage" runat="server" Text="<%# Container.DataItem %>" ToolTip='<%# "Trang " + Container.DataItem %>'><%# Container.DataItem %></asp:HyperLink></li>
                </ItemTemplate>
            </asp:Repeater>
            </ul>
        </div>
    </div>
</asp:Content>